using System;

namespace WinLOAtest.Models
{
    /// <summary>
    /// 功能配置模型
    /// </summary>
    public class FeatureConfig
    {
        /// <summary>
        /// 功能ID（1-20）
        /// </summary>
        public int FeatureId { get; set; }

        /// <summary>
        /// 功能名称
        /// </summary>
        public string FeatureName { get; set; }

        /// <summary>
        /// 功能描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnabled { get; set; }

        /// <summary>
        /// 排序顺序
        /// </summary>
        public int SortOrder { get; set; }

        public FeatureConfig()
        {
            IsEnabled = true;
        }

        public override string ToString()
        {
            return FeatureName;
        }
    }
}
